<html xmlns:th="http://www.w3.org/1999/xhtml">
<div class="layui-side layui-bg-black" th:fragment="copy (title, portion)">
    <div class="layui-side-scroll">
        <ul class="layui-nav layui-nav-tree"  lay-filter="test">
            <li class="layui-nav-item"><a th:href="@{/work/index}" style="margin: auto 25%;">工作台</a></li>
        </ul>
        <ul class="layui-nav layui-nav-tree"  lay-filter="test">
            <li class="layui-nav-item" th:if="${title} eq 'account'" th:attrappend="class=' layui-nav-itemed'">
                <a class="" href="javascript:;"><i class="fa fa-share-square-o fa-lg"></i>&nbsp;&nbsp;生活号管理</a>
                <dl class="layui-nav-child">
                    <dd th:if="${portion} eq 'index'" th:class="layui-this">
                        <a th:href="@{/admin/account/index}">&nbsp;&nbsp;&nbsp;&nbsp;<i class="fa fa-circle-o fa-lg"></i>&nbsp;&nbsp;生活号列表</a>
                    </dd>
                    <dd th:if="${portion} ne 'index'">
                        <a th:href="@{/admin/account/index}">&nbsp;&nbsp;&nbsp;&nbsp;<i class="fa fa-circle-o fa-lg"></i>&nbsp;&nbsp;生活号列表</a>
                    </dd>
                </dl>
            </li>
            <li class="layui-nav-item" th:if="${title} ne 'account'">
                <a class="" href="javascript:;"><i class="fa fa-share-square-o fa-lg"></i>&nbsp;&nbsp;权限管理</a>
                <dl class="layui-nav-child">
                    <dd th:if="${portion} eq 'index'" th:class="layui-this">
                        <a th:href="@{/admin/account/index}">&nbsp;&nbsp;&nbsp;&nbsp;<i class="fa fa-circle-o fa-lg"></i>&nbsp;&nbsp;生活号列表</a>
                    </dd>
                    <dd th:if="${portion} ne 'index'">
                        <a th:href="@{/admin/account/index}">&nbsp;&nbsp;&nbsp;&nbsp;<i class="fa fa-circle-o fa-lg"></i>&nbsp;&nbsp;生活号列表</a>
                    </dd>
                </dl>
            </li>
        </ul>
    </div>
</div>
</html>
